
/**
 * @brief    Includes default for single point constraints.
 *
 * @version  0.1
 * @author   wuxingchuang
 * @date     2025.02.05
 *          _
 *      ___| |__   ___ _ __   __ _  ___  _ __   __ _
 *     / __| '_ \ / _ \ '_ \ / _` |/ _ \| '_ \ / _` |
 *     \__ \ | | |  __/ | | | (_| | (_) | | | | (_| |
 *     |___/_| |_|\___|_| |_|\__, |\___/|_| |_|\__, |
 *                           |___/             |___/
 * @copyright (c) 2024 by 神工仿真, All Rights Reserved.
 */
#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Common/SGObject.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN

struct GRDSETData : public SGObject
{
    SG::DataStructure::Common::I64 m_CP       = 0;  ///< Identification number of coordinate system in which the location of the grid points are defined.  (Integer > 0 or blank)
    SG::DataStructure::Common::I64 m_CD       = 0;  ///< Identification number of coordinate system in which the displacements, degrees-of-freedom, constraints, and solution vectors of the grid point are defined. (Integer > -1 or blank)
    SG::DataStructure::Common::I64 m_PS       = 0;  ///< Permanent single-point constraints on the grid point.  (Any combination of Integers 1 through 6 with no embedded blanks, or blank.)
    SG::DataStructure::Common::Id  m_SEID     = 0;  ///< Superelement identification number.  (Integer > 0 or blank)


    SG::DataStructure::Common::Id  m_domainId = 0;     ///<
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const GRDSETData& val1, const GRDSETData& val2);

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE
